<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>最新活动</title>
    <link rel="stylesheet" type="text/css" href="./css/api.css" />
    <link rel="stylesheet" type="text/css" href="./css/aui.css" />
    <link rel="stylesheet" type="text/css" href="./css/font-awesome.min.css" />
    <link rel="stylesheet" type="text/css" href="./css/style.css" />
    <script type="text/javascript" src="./script/api.js"></script>
    <script type="text/javascript" src="./script/aui-tab.js" ></script>
    <link rel="stylesheet" type="text/css" href="./css/aui-slide.css" />
    <script type="text/javascript" src="./script/aui-slide.js"></script>
    <script type="text/javascript">
        function closeWin(){
            api.closeWin({
            });
        };
    </script>
</head>
<body>
   <!-- 头部 -->
    <header class="aui-bar aui-bar-nav">
        <a class="aui-pull-left aui-btn" onclick="closeWin()">
            <span class="aui-iconfont aui-icon-left"></span>
        </a>
        <div class="aui-title">最新活动</div>
    </header>
    {{~it.array :value:index}}
    <div class="activity">
        <ul>
            <li>
                <i><img src="image/activity-icon-1.png"></i>
                <span>8月线上活动</span>
                <p>2017-08-20 00:00:00</p>
                <img src="image/img1.jpg">
            </li>
            <!-- <li>
                <i><img src="image/activity-icon-2.png"></i>
                <span>8月线上活动</span>
                <p>2017-08-20 00:00:00</p>
                <img src="image/img1.jpg">
            </li> -->
        </ul>
    </div>
    {{~}}
</body>
<script type="text/javascript">
    // 8月统计
    function my_fund_bill(){
        var delay = 0;
        if(api.systemType != 'ios'){
            // delay = 300;
        }
        api.openWin({
            name: 'my_fund_bill',
            url: './my-fund-bill.html',
            bounces:false,
            delay: delay,
            slidBackEnabled:true,
            vScrollBarEnabled:false,
            progress:{
                type:"page"
            }
        });
    };


    apiready = function() {

  //网络请求
      api.ajax({
    url: 'http://www.big-wealth.com/index.php?ctl=app_article&act=article_list',
    method: 'post',
    data: {
        values: {
            cate_id: '32',
            page:'1'
        },
    }
}, function(ret, err) {
    if (ret) {
        // api.alert({ msg: JSON.stringify(ret) });
    }
});

    };






</script>
</html>
